<?php
/**
 * Created by PhpStorm.
 * User: Short Perton
 * Date: 2016/8/30
 * Time: 10:30
 */

return new Phalcon\Config([
    'application' => [
        'debug' => false,
        'baseUri' => '/',
        'view' => [
            'compiledPath'      => ROOT_DIR . 'content/caches/volt/',
            'compiledSeparator' => '_',
            'compiledExtension' => '.php',
            'paginator'         => [
                'limit'             => 10,
            ],
            'viewsDir' => ROOT_DIR . 'app/views/'
        ]
    ],
    'database' => [
        'adapter' => 'Mysql',
        'host' => 'localhost',
        'username' => 'root',
        'password' => '123456',
        'dbname' => 'swoole',
        'charset' => 'utf8'
    ]
]);